package com.cai.dao;



import com.cai.pojo.CheckItem;
import com.github.pagehelper.Page;

import java.util.List;

public interface CheckItemDao {
    //新建检查项
    public void add(CheckItem checkItem);
    //分页查询检查项
    public Page<CheckItem> selectByCondition(String queryString);
    //根据id查询检查项关联检查组
    public long findCountByCheckItemId(Integer id);
    //删除id检查项
    public void deleteById(Integer id);
    //编辑检查项
    public void edit(CheckItem checkItem);
    //根据id查询检查项
    public CheckItem findById(Integer id);
    //查询所有检查项
    public List<CheckItem> findAll();
}
